#include <iostream>

int main() {
    char str1[] = "Thisisabighouseandiloveit";
    char str2[50];
    int m = 10;
    char *p1, *p2;
    p1 = str1;
    p2 = str2;
    while (*(p1 + m) != '\0') {
        *p2 = *(p1 + m);
        p2++;
        p1 + m ++;
    }
    printf("%s", str2);
}
